[INFO] fetching crate spectrometer 0.0.3...
[INFO] building spectrometer-0.0.3 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate spectrometer 0.0.3 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate spectrometer 0.0.3 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate spectrometer 0.0.3
[INFO] finished tweaking crates.io crate spectrometer 0.0.3
[INFO] tweaked toml for crates.io crate spectrometer 0.0.3 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc2bdfabf5ef416be62e4340db221c5ac0bd521ef0cda259ac120bcb18f73e91
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fc2bdfabf5ef416be62e4340db221c5ac0bd521ef0cda259ac120bcb18f73e91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc2bdfabf5ef416be62e4340db221c5ac0bd521ef0cda259ac120bcb18f73e91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc2bdfabf5ef416be62e4340db221c5ac0bd521ef0cda259ac120bcb18f73e91", kill_on_drop: false }`
[INFO] [stdout] fc2bdfabf5ef416be62e4340db221c5ac0bd521ef0cda259ac120bcb18f73e91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef0473fd558b9b72443c4b2ef1be62808d64bd26d4ec2cef7aa2737cf9b9ffd8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ef0473fd558b9b72443c4b2ef1be62808d64bd26d4ec2cef7aa2737cf9b9ffd8", kill_on_drop: false }`
[INFO] [stderr]    Compiling spectrometer v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::processthreadsapi::GetSystemTimes;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::sysinfoapi::{GetNativeSystemInfo, GlobalMemoryStatusEx, GetTickCount64, MEMORYSTATUSEX, SYSTEM_INFO /*, GetVersion */};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::fileapi::{GetDiskFreeSpaceExW, GetLogicalDriveStringsW};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winnt::{ULARGE_INTEGER, WCHAR};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::winbase::{GetComputerNameW, GetUserNameW};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::minwindef::{FILETIME /*, HIWORD, LOWORD, HIBYTE, LOBYTE */};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::lmcons::UNLEN;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stdout]   --> src/lib.rs:51:30
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut base_idle_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stdout]    |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stdout]   --> src/lib.rs:52:32
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut base_kernel_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stdout]    |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stdout]   --> src/lib.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut base_user_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stdout]    |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stdout]   --> src/lib.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut idle_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stdout]    |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stdout]   --> src/lib.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut kernel_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FILETIME` in this scope
[INFO] [stdout]   --> src/lib.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut user_time = FILETIME { dwHighDateTime: 0, dwLowDateTime: 0 };
[INFO] [stdout]    |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemTimes` in this scope
[INFO] [stdout]   --> src/lib.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |     if unsafe { GetSystemTimes(&mut base_idle_time, &mut base_kernel_time, &mut base_user_time) } == 0 {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemTimes` in this scope
[INFO] [stdout]   --> src/lib.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |     if unsafe { GetSystemTimes(&mut idle_time, &mut kernel_time, &mut user_time) } == 0 {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FILETIME` in this scope
[INFO] [stdout]   --> src/lib.rs:87:28
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn filetime2u64(filetime: &FILETIME) -> u64 {
[INFO] [stdout]    |                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stdout]   --> src/lib.rs:97:25
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub fn get_drives() -> Result<Vec<String>, Error> {
[INFO] [stdout]    |                  - help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stdout] 96 |     let buffer_size = 512;
[INFO] [stdout] 97 |     let mut buffer: Vec<WCHAR> = Vec::with_capacity(buffer_size);
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLogicalDriveStringsW` in this scope
[INFO] [stdout]   --> src/lib.rs:99:20
[INFO] [stdout]    |
[INFO] [stdout] 99 |     match unsafe { GetLogicalDriveStringsW((buffer_size - 1) as u32, buffer.as_mut_ptr()) } {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stdout]    --> src/lib.rs:141:20
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut avail: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stdout]    --> src/lib.rs:142:19
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut free: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ULARGE_INTEGER` in this scope
[INFO] [stdout]    --> src/lib.rs:143:20
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let mut total: ULARGE_INTEGER = unsafe { mem::zeroed() };
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDiskFreeSpaceExW` in this scope
[INFO] [stdout]    --> src/lib.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |     if unsafe { GetDiskFreeSpaceExW(u16_drive, &mut avail, &mut total, &mut free) } == 0 {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORYSTATUSEX` in this scope
[INFO] [stdout]    --> src/lib.rs:164:21
[INFO] [stdout]     |
[INFO] [stdout] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MEMORYSTATUSEX` in this scope
[INFO] [stdout]    --> src/lib.rs:164:38
[INFO] [stdout]     |
[INFO] [stdout] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MEMORYSTATUSEX` in this scope
[INFO] [stdout]    --> src/lib.rs:165:34
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub fn memory_details() -> Result<Mem, Error> {
[INFO] [stdout]     |                      - help: you might be missing a type parameter: `<MEMORYSTATUSEX>`
[INFO] [stdout] 164 |     let mut memory: MEMORYSTATUSEX = MEMORYSTATUSEX {
[INFO] [stdout] 165 |         dwLength: mem::size_of::<MEMORYSTATUSEX>() as u32,
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GlobalMemoryStatusEx` in this scope
[INFO] [stdout]    --> src/lib.rs:176:17
[INFO] [stdout]     |
[INFO] [stdout] 176 |     if unsafe { GlobalMemoryStatusEx(&mut memory) } == 0 {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTickCount64` in this scope
[INFO] [stdout]    --> src/lib.rs:190:26
[INFO] [stdout]     |
[INFO] [stdout] 190 |     let ticks = unsafe { GetTickCount64() };
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SYSTEM_INFO` in this scope
[INFO] [stdout]    --> src/lib.rs:197:27
[INFO] [stdout]     |
[INFO] [stdout] 197 |     let mut system_info = SYSTEM_INFO {
[INFO] [stdout]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNativeSystemInfo` in this scope
[INFO] [stdout]    --> src/lib.rs:210:14
[INFO] [stdout]     |
[INFO] [stdout] 210 |     unsafe { GetNativeSystemInfo(&mut system_info) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SYSTEM_INFO` in this scope
[INFO] [stdout]    --> src/lib.rs:217:27
[INFO] [stdout]     |
[INFO] [stdout] 217 |     let mut system_info = SYSTEM_INFO {
[INFO] [stdout]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNativeSystemInfo` in this scope
[INFO] [stdout]    --> src/lib.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 |     unsafe { GetNativeSystemInfo(&mut system_info) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetComputerNameW` in this scope
[INFO] [stdout]    --> src/lib.rs:247:17
[INFO] [stdout]     |
[INFO] [stdout] 247 |     if unsafe { GetComputerNameW(buffer.as_mut_ptr(), &mut (buffer_size as u32)) } == 0 {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `UNLEN` in this scope
[INFO] [stdout]    --> src/lib.rs:267:28
[INFO] [stdout]     |
[INFO] [stdout] 267 |     let mut buffer_size = (UNLEN + 1) as usize;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserNameW` in this scope
[INFO] [stdout]    --> src/lib.rs:270:17
[INFO] [stdout]     |
[INFO] [stdout] 270 |     if unsafe { GetUserNameW(buffer.as_mut_ptr(), &mut (buffer_size as u32)) } == 0 {
[INFO] [stdout]     |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/lib.rs:8:30
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::{time, thread, mem, env};
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 34 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `spectrometer`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ef0473fd558b9b72443c4b2ef1be62808d64bd26d4ec2cef7aa2737cf9b9ffd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef0473fd558b9b72443c4b2ef1be62808d64bd26d4ec2cef7aa2737cf9b9ffd8", kill_on_drop: false }`
[INFO] [stdout] ef0473fd558b9b72443c4b2ef1be62808d64bd26d4ec2cef7aa2737cf9b9ffd8
